package com.erp.erp_entitys.Purchase;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ExportVo {

    /**
     * 外销主键
     */
    private Integer exportId;

    /**
     * 外销合同编号
     */
    private String exportNo;

    /**
     * 客户合同号
     */
    private String customerContractNo;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 客户等级编码
     */
    private String customerLevelCode;

    /**
     * 客户等级名称
     */
    private String customerLevelName;

    /**
     * 签约公司编码
     */
    private String signingCode;

    /**
     * 签约公司名称
     */
    private String signingName;

    /**
     * 签约日期
     */
    private Date deliverDate;

    /**
     * 银行编码
     */
    private String bankCode;

    /**
     * 银行名称
     */
    private String bankName;

    /**
     * 备货期限
     */
    private String leadTime;

    /**
     * 客户账期
     */
    private String customerAccountingPeriod;

    /**
     * 是否补货(0:否 1:是)
     */
    private Integer whetherToReplenish;

    /**
     * 客诉单号(CAPA号)
     */
    private String customerComplaintNo;

    /**
     * 出运日期
     */
    private Date shipmentDate;

    /**
     * 运输方式
     */
    private String transportModel;

    /**
     * 业务模式编码
     */
    private String businessModelCode;

    /**
     * 业务员编码
     */
    private String salesmanCode;

    /**
     * 业务员编码
     */
    private String salesmanName;

    /**
     * 备货 备注
     */
    private String importRemark;

    /**
     * 签约时间段
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startDeliverTime;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endDeliverTime;

    /**
     * 产品编码
     */
    private String productNo;


    public Integer getExportId() {
        return exportId;
    }

    public void setExportId(Integer exportId) {
        this.exportId = exportId;
    }

    public String getExportNo() {
        return exportNo;
    }

    public void setExportNo(String exportNo) {
        this.exportNo = exportNo;
    }

    public String getCustomerContractNo() {
        return customerContractNo;
    }

    public void setCustomerContractNo(String customerContractNo) {
        this.customerContractNo = customerContractNo;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerLevelCode() {
        return customerLevelCode;
    }

    public void setCustomerLevelCode(String customerLevelCode) {
        this.customerLevelCode = customerLevelCode;
    }

    public String getCustomerLevelName() {
        return customerLevelName;
    }

    public void setCustomerLevelName(String customerLevelName) {
        this.customerLevelName = customerLevelName;
    }

    public String getSigningCode() {
        return signingCode;
    }

    public void setSigningCode(String signingCode) {
        this.signingCode = signingCode;
    }

    public String getSigningName() {
        return signingName;
    }

    public void setSigningName(String signingName) {
        this.signingName = signingName;
    }

    public Date getDeliverDate() {
        return deliverDate;
    }

    public void setDeliverDate(Date deliverDate) {
        this.deliverDate = deliverDate;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getLeadTime() {
        return leadTime;
    }

    public void setLeadTime(String leadTime) {
        this.leadTime = leadTime;
    }

    public String getCustomerAccountingPeriod() {
        return customerAccountingPeriod;
    }

    public void setCustomerAccountingPeriod(String customerAccountingPeriod) {
        this.customerAccountingPeriod = customerAccountingPeriod;
    }

    public Date getShipmentDate() {
        return shipmentDate;
    }

    public void setShipmentDate(Date shipmentDate) {
        this.shipmentDate = shipmentDate;
    }

    public String getTransportModel() {
        return transportModel;
    }

    public void setTransportModel(String transportModel) {
        this.transportModel = transportModel;
    }

    public String getBusinessModelCode() {
        return businessModelCode;
    }

    public void setBusinessModelCode(String businessModelCode) {
        this.businessModelCode = businessModelCode;
    }

    public String getSalesmanCode() {
        return salesmanCode;
    }

    public void setSalesmanCode(String salesmanCode) {
        this.salesmanCode = salesmanCode;
    }

    public String getSalesmanName() {
        return salesmanName;
    }

    public void setSalesmanName(String salesmanName) {
        this.salesmanName = salesmanName;
    }

    public String getImportRemark() {
        return importRemark;
    }

    public void setImportRemark(String importRemark) {
        this.importRemark = importRemark;
    }

    public Date getStartDeliverTime() {
        return startDeliverTime;
    }

    public void setStartDeliverTime(Date startDeliverTime) {
        this.startDeliverTime = startDeliverTime;
    }

    public Date getEndDeliverTime() {
        return endDeliverTime;
    }

    public void setEndDeliverTime(Date endDeliverTime) {
        this.endDeliverTime = endDeliverTime;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public Integer getWhetherToReplenish() {
        return whetherToReplenish;
    }

    public void setWhetherToReplenish(Integer whetherToReplenish) {
        this.whetherToReplenish = whetherToReplenish;
    }

    public String getCustomerComplaintNo() {
        return customerComplaintNo;
    }

    public void setCustomerComplaintNo(String customerComplaintNo) {
        this.customerComplaintNo = customerComplaintNo;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ExportVo").append('[')
                .append("exportId=")
                .append(exportId)
                .append(",exportNo=")
                .append(exportNo)
                .append(",customerContractNo=")
                .append(customerContractNo)
                .append(",customerName=")
                .append(customerName)
                .append(",customerLevelCode=")
                .append(customerLevelCode)
                .append(",customerLevelName=")
                .append(customerLevelName)
                .append(",signingCode=")
                .append(signingCode)
                .append(",signingName=")
                .append(signingName)
                .append(",deliverDate=")
                .append(deliverDate)
                .append(",bankCode=")
                .append(bankCode)
                .append(",bankName=")
                .append(bankName)
                .append(",leadTime=")
                .append(leadTime)
                .append(",customerAccountingPeriod=")
                .append(customerAccountingPeriod)
                .append(",whetherToReplenish=")
                .append(whetherToReplenish)
                .append(",customerComplaintNo=")
                .append(customerComplaintNo)
                .append(",shipmentDate=")
                .append(shipmentDate)
                .append(",transportModel=")
                .append(transportModel)
                .append(",businessModelCode=")
                .append(businessModelCode)
                .append(",salesmanCode=")
                .append(salesmanCode)
                .append(",salesmanName=")
                .append(salesmanName)
                .append(",importRemark=")
                .append(importRemark)
                .append(",startDeliverTime=")
                .append(startDeliverTime)
                .append(",endDeliverTime=")
                .append(endDeliverTime)
                .append(",productNo=")
                .append(productNo)
                .append(']');
        return sb.toString();
    }
}
